[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
O_WR
Function
Set the open for write access flag in a FCREATE/FOPEN/FAPPEND statement.
Value
1 = 1b = 1o = 1h
Remarks
Files may be opened for read, write or combined read/write access.
You should only use the access you need to allow other processes to
open files at the same time in multitasking and networked environments.
This constant will allow your PPE to write to a file but will restrict
read access.
Example
FOPEN 1,"FILE.DAT",O_WR,S_DN ' Open for write access
FOR i = 1 TO 10
FPUTLN 1,"Line ",i
NEXT
FCLOSE 1
See Also:
O_RD
O_RW
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson